<template>
	<div>
		<div class="pl-6 pr-6 pt-6">
			<el-card class="!border-none p-4" shadow="never">
				<div class="topTitle font-bold main-color text-2xl mb-5">
					产品信息
				</div>
				<el-table class="mt-[20px] border-inherit" size="large" :data="pager.lists" v-loading="pager.loading"
				:header-cell-style="{'background':'#0054A6','color':'#FFB400','line-height':'52px','padding':'14px 0'}"
				:cell-style="{'color':'#0054A6','padding':'20px 0'}"
				>
					<el-table-column label="产品名称" prop="type_desc" align="center" />
					<el-table-column label="产品图号" prop="scene_name" align="center" />
					<el-table-column label="材质" prop="scene_name" align="center" />
					<el-table-column label="件数(pcs)" prop="scene_name" align="center">
						<template #default="{ row }">
							1
						</template>	
					</el-table-column>
					<el-table-column label="预计单重(kg/件)" prop="scene_name" align="center">
						<template #default="{ row }">
							1
						</template>	
					</el-table-column>
					<el-table-column label="单价(USD/pc)" prop="scene_name" align="center">
						<template #default="{ row }">
							1
						</template>	
					</el-table-column>
					<el-table-column label="产品分类" prop="scene_name" align="center">
						<template #default="{ row }">
							1
						</template>	
					</el-table-column>
				</el-table>
				<div class="flex justify-end bg-[#E8F4FF] py-4 px-10 font-bold text-xl">
					运费：100
				</div>
				<div class="mt-[40px]">
					<el-table class="mt-[20px]" size="large" :data="pager.lists" v-loading="pager.loading"
					:header-cell-style="{'background':'#0054A6','color':'#FFB400','line-height':'52px','padding':'14px 0'}"
					:cell-style="{'color':'#0054A6','padding':'20px 0'}"
					>
						<el-table-column label="总重量" prop="type_desc" align="center" />
						<el-table-column label="总金额" prop="scene_name" align="center" />
						<el-table-column label="总托数" prop="scene_name" align="center" />
						<el-table-column label="预估总体积(方)" prop="scene_name" align="center">
							<template #default="{ row }">
								1
							</template>	
						</el-table-column>
						<el-table-column label="预估交期(天)" prop="scene_name" align="center">
							<template #default="{ row }">
								1
							</template>	
						</el-table-column>
						<el-table-column label="报价有效期" prop="scene_name" align="center">
							<template #default="{ row }">
								1
							</template>	
						</el-table-column>
					</el-table>
				</div>
			</el-card>
		</div>	
	</div>
</template>

<script lang="ts" setup>
	import { computed, onMounted, reactive, ref, shallowRef } from 'vue'
	import { getRoutePath } from '@/router'
	import { noticeLists } from '@/api/message'
	import { usePaging } from '@/hooks/usePaging'
	
	// 列表数据
	
	const { pager, getLists } = usePaging({
	    fetchFun: noticeLists,
	})
	const handleDelete = async (id: number) => {
	    await feedback.confirm('确定要删除？')
	    // await menuDelete({ id })
	    getLists()
	}
	onActivated(() => {
	    getLists()
	})
	
	getLists()
</script>

<style lang="scss" scoped>
	.el-set-form:deep() .el-form-item__label{
		color: var(--el-text-color-main);
		height: 36px;
		line-height: 36px;
	}
	.el-set-form:deep() .el-input__inner{
		height: 36px;
	}
	.el-set-form:deep() .el-input__inner::placeholder {
		color: var(--el-text-color-main);
	}
</style>